<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>定义</title>
    <!-- 引入Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
    <!-- 引入自定义CSS -->
    <link rel="stylesheet" href="/static/custom.css">
</head>
<body class="bg-light">
<div class="container mt-5">
    <div class="row justify-content-center">
        <!-- 包含侧边栏 -->
        {{template "sidebar.html"}}
        <div class="col-md-6">
            <div class="card">
                <div class="card-body">
                    <h1 class="text-center mb-4">角色清单</h1>

                    {{ if .ShowResult }}
                    <div class="mt-4">
                        <h2 class="text-center mb-4">计价结果</h2>
                        <p class="lead">价格: {{.Price}}</p>
                    </div>
                    {{ end }}
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
